cmake_minimum_required(VERSION 3.0.2)
project(quad_msgs)

## Compile as C++11, supported in ROS Kinetic and newer
add_compile_options(-std=c++11)

find_package(catkin REQUIRED COMPONENTS
  geometry_msgs
  message_generation
  roscpp
)

add_message_files(
  FILES
  State.msg
  PieceTrajectory.msg
  Trajectory.msg
  ControlCommand.msg
  ThrustAndAttitude.msg
  VelocityAndYawRate.msg
  Brake.msg
)

add_service_files(
  FILES
  ReplanCheck.srv
  GlobalTrajProcess.srv
  Trigger.srv
)

generate_messages(
  DEPENDENCIES
  geometry_msgs
)

catkin_package(
#  INCLUDE_DIRS include
  CATKIN_DEPENDS geometry_msgs message_runtime roscpp
)

include_directories(
  include
  ${catkin_INCLUDE_DIRS}
)
